FROM registry.cn-hangzhou.aliyuncs.com/samu/maven:3.5.0-jdk-8-alpine
RUN mkdir /app
WORKDIR /app
COPY target/*.jar /app/app.jar
ENTRYPOINT ["sh", "-c", "java -Xmx128m -Xms64m -jar app.jar"]